Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-17 23:42:02 +0000
committerStijn Buys <ingar@osirion.org>2013-11-17 23:42:02 +0000
commite807969aa34dadb069b94e456323456dcf3b3843 (patch)
tree95cdc5c7384212646af4ce25b393c5d729c84c35 /src
parente44fa0f1ca62fbcc640530abb2d085939f470d34 (diff)
Update map content when opening a file.
Diffstat (limited to 'src')
-rw-r--r--src/editorwindow.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/editorwindow.cc b/src/editorwindow.cc
index f08cc2c..29f2c1f 100644
--- a/src/editorwindow.cc
+++ b/src/editorwindow.cc
@@ -236,6 +236,9 @@ bool EditorWindow::loadFile(const QString &filename)
QApplication::restoreOverrideCursor();
editorwindow_filename = filename;
+
+ editorwindow_mapwidget->resizeChildren();
+ editorwindow_mapwidget->update();
return true;
}