Skip to content

Commit 1b5b09a

Browse files
author
Michael Whapples
committed
Change to using widget instead of dialog.
1 parent cf40682 commit 1b5b09a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/convert2ebrl/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from PySide6.QtCore import QSettings, QTimer
1616
from PySide6.QtWidgets import QApplication, QMessageBox
1717

18-
from convert2ebrl.brf_to_ebrf import Brf2EbrfDialog
18+
from convert2ebrl.brf_to_ebrf import Brf2EbrfWidget
1919
from convert2ebrl.hash_utils import get_file_hash
2020
from convert2ebrl.settings import PROFILES_FILE_NAME
2121
from convert2ebrl.settings.defaults import DEFAULT_SETTINGS_PROFILES_LIST
@@ -48,8 +48,8 @@ def run_app(args: Sequence[str]):
4848
def starting_app():
4949
if not release_build:
5050
QMessageBox.warning(None, "Not for production use!", "This is not a production ready build and is only for testing purposes. No other use is recommended and is at the user's own risk.")
51-
w = Brf2EbrfDialog()
52-
w.show()
51+
w = Brf2EbrfWidget()
52+
w.show()
5353

5454
QTimer.singleShot(0, starting_app)
5555
app.exec()

src/convert2ebrl/brf_to_ebrf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def current_settings_profile(self, value: SettingsProfile):
127127
self.currentSettingsProfileChanged.emit(value)
128128

129129

130-
class Brf2EbrfDialog(QDialog):
130+
class Brf2EbrfWidget(QWidget):
131131
def __init__(self, parent: QObject = None):
132132
super().__init__(parent)
133133
self.setWindowTitle("Convert BRF to eBraille")

0 commit comments

Comments
 (0)