mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-01 18:49:38 +12:00
Fixes two small bugs #200.
This commit is contained in:
parent
a29eddabea
commit
9eb1402613
|
@ -196,8 +196,14 @@ class importerDialog(QWidget, Ui_importer):
|
||||||
"""
|
"""
|
||||||
self.startImport(self.mw.mdlOutline)
|
self.startImport(self.mw.mdlOutline)
|
||||||
|
|
||||||
QMessageBox.information(self, self.tr("Import status"),
|
# Signal every views that important model changes have happened.
|
||||||
self.tr("Import Complete."))
|
self.mw.mdlOutline.layoutChanged.emit()
|
||||||
|
|
||||||
|
# I'm getting seg fault over this message sometimes...
|
||||||
|
# Using status bar message instead...
|
||||||
|
#QMessageBox.information(self, self.tr("Import status"),
|
||||||
|
#self.tr("Import Complete."))
|
||||||
|
self.mw.statusBar().showMessage("Import complete!", 5000)
|
||||||
|
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue