Invoke via RunOnIdle to prevent blocking
- Issue MatterHackers/MCCentral#4639 [Linux] Mouse does not work in export printer dialog
This commit is contained in:
parent
1cffae5f50
commit
375dd22f14
2 changed files with 6 additions and 3 deletions
|
|
@ -330,10 +330,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
new NamedAction()
|
||||
{
|
||||
Title = "Export All Settings".Localize(),
|
||||
Action = () =>
|
||||
Action = () => UiThread.RunOnIdle(() =>
|
||||
{
|
||||
ApplicationController.Instance.ExportAsMatterControlConfig(printer);
|
||||
}
|
||||
})
|
||||
},
|
||||
new ActionSeparator(),
|
||||
new NamedAction()
|
||||
|
|
|
|||
|
|
@ -3,7 +3,10 @@
|
|||
"GraphicsMode": {
|
||||
"Color": 32,
|
||||
"Depth": 24,
|
||||
"FSAASamples": 8
|
||||
"FSAASamples": 8
|
||||
},
|
||||
"ProviderTypes": {
|
||||
"DialogProvider": "MatterHackers.Agg.Platform.GtkFileDialogProvider, PlatformGtk"
|
||||
}
|
||||
},
|
||||
"MatterControl": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue