Rework UnexpectedErrorPopup to be more practical
- Instead of opening a popup for every single error that occurs, combine them into an unique one - Increase the maximum width, make those tracebacks readable
This commit is contained in:
@@ -9,6 +9,7 @@ import QtGraphicalEffects 1.12
|
||||
import "."
|
||||
import "Base"
|
||||
import "MainPane"
|
||||
import "Popups"
|
||||
|
||||
Item {
|
||||
id: mainUI
|
||||
@@ -38,6 +39,7 @@ Item {
|
||||
readonly property alias debugConsole: debugConsole
|
||||
readonly property alias mainPane: mainPane
|
||||
readonly property alias pageLoader: pageLoader
|
||||
readonly property alias unexpectedErrorPopup: unexpectedErrorPopup
|
||||
readonly property alias fontMetrics: fontMetrics
|
||||
readonly property alias idleManager: idleManager
|
||||
|
||||
@@ -177,4 +179,8 @@ Item {
|
||||
|
||||
GlobalTapHandlers { pageLoader: parent }
|
||||
}
|
||||
|
||||
UnexpectedErrorPopup {
|
||||
id: unexpectedErrorPopup
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user