1
0
Kandrashin Denis 13 жил өмнө
parent
commit
a19da1feed
1 өөрчлөгдсөн 2 нэмэгдсэн , 3 устгасан
  1. 2 3
      source/fb2view.cpp

+ 2 - 3
source/fb2view.cpp

@@ -298,9 +298,8 @@ void Fb2WebView::insertImage()
 
 void Fb2WebView::insertNote()
 {
-    Fb2NoteDlg * dlg = new Fb2NoteDlg(*this);
-    dlg->setModal(true);
-    dlg->show();
+    Fb2NoteDlg dlg(*this);
+    dlg.exec();
 }
 
 void Fb2WebView::insertLink()