Move qutae symbol dialog source file to the dialogs folder

This commit is contained in:
Veronica K. B. Olsen
2021-04-23 21:49:20 +02:00
parent 03a80beebe
commit b698ccbc1d
10 changed files with 690 additions and 654 deletions
+3 -2
View File
@@ -38,7 +38,8 @@ from PyQt5.QtWidgets import (
from nw.core import NWSpellSimple, NWSpellEnchant
from nw.enum import nwAlert
from nw.constants import nwConst
from nw.gui.custom import QSwitch, QConfigLayout, PagedDialog, QuotesDialog
from nw.gui.custom import QSwitch, QConfigLayout, PagedDialog
from nw.dialogs.quotes import GuiQuoteSelect
logger = logging.getLogger(__name__)
@@ -1223,7 +1224,7 @@ class GuiPreferencesQuotes(QWidget):
def _getQuote(self, qType):
"""Dialog for single quote open.
"""
qtBox = QuotesDialog(self, currentQuote=self.quoteSym[qType].text())
qtBox = GuiQuoteSelect(self, currentQuote=self.quoteSym[qType].text())
if qtBox.exec_() == QDialog.Accepted:
self.quoteSym[qType].setText(qtBox.selectedQuote)