Skip to content

Commit 2ed0983

Browse files
committedMay 30, 2019
Emit newProject after save project as ...
Fixes #29919
1 parent 1d1d2ca commit 2ed0983

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6277,6 +6277,7 @@ void QgisApp::fileSaveAs()
62776277
// add this to the list of recently used project files
62786278
saveRecentProjectPath();
62796279
mProjectLastModified = fullPath.lastModified();
6280+
emit newProject();
62806281
}
62816282
else
62826283
{

‎src/gui/qgsbrowserdockwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void QgsBrowserDockWidget::showEvent( QShowEvent *e )
156156
mPropertiesWidgetHeight = settings.value( settingsSection() + "/propertiesWidgetHeight" ).toFloat();
157157
QList<int> sizes = mSplitter->sizes();
158158
int total = sizes.value( 0 ) + sizes.value( 1 );
159-
int height = static_cast<int>( total ) * mPropertiesWidgetHeight;
159+
int height = static_cast<int>( total * mPropertiesWidgetHeight );
160160
sizes.clear();
161161
sizes << total - height << height;
162162
mSplitter->setSizes( sizes );

0 commit comments

Comments
 (0)
Please sign in to comment.