فهرست منبع

Small changes

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()