mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-26 00:15:28 +00:00
Disable whole UI when busy
This commit is contained in:
@@ -20,6 +20,9 @@ Window "DiscordChatExporter.Views.MainWindow" {
|
||||
|
||||
DialogHost {
|
||||
DockPanel {
|
||||
IsEnabled: bind IsBusy
|
||||
convert (bool b) => b ? false : true
|
||||
|
||||
// Toolbar
|
||||
Border {
|
||||
DockPanel.Dock: Top
|
||||
@@ -100,8 +103,6 @@ Window "DiscordChatExporter.Views.MainWindow" {
|
||||
Grid {
|
||||
DockPanel {
|
||||
Background: resource dyn "MaterialDesignCardBackground"
|
||||
IsEnabled: bind IsBusy
|
||||
convert (bool b) => b ? false : true
|
||||
Visibility: bind IsDataAvailable
|
||||
convert (bool b) => b ? Visibility.Visible : Visibility.Hidden
|
||||
|
||||
|
||||
Reference in New Issue
Block a user