Kandrashin Denis преди 13 години
родител
ревизия
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()