Skip to content

Commit 36ab371

Browse files
committed
Comment out gtk application quit
1 parent 87984ef commit 36ab371

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

AssetRipper.NativeDialogs/ConfirmationDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public Options(string message, Type type = Type.OkCancel)
136136
}
137137
finally
138138
{
139-
Gtk.Application.Quit(); // stops the main loop
139+
//Gtk.Application.Quit(); // stops the main loop
140140
}
141141

142142
return Task.FromResult(result);

AssetRipper.NativeDialogs/MessageDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private static Task MessageLinux(Options options)
9797
}
9898
finally
9999
{
100-
Gtk.Application.Quit(); // stops the main loop
100+
//Gtk.Application.Quit(); // stops the main loop
101101
}
102102

103103
return Task.CompletedTask;

AssetRipper.NativeDialogs/OpenFileDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static class OpenFileDialog
9292
}
9393
finally
9494
{
95-
Gtk.Application.Quit(); // stops the main loop
95+
//Gtk.Application.Quit(); // stops the main loop
9696
}
9797

9898
return Task.FromResult(result);
@@ -223,7 +223,7 @@ public static class OpenFileDialog
223223
}
224224
finally
225225
{
226-
Gtk.Application.Quit(); // stops the main loop
226+
//Gtk.Application.Quit(); // stops the main loop
227227
}
228228

229229
return Task.FromResult(result);

AssetRipper.NativeDialogs/OpenFolderDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public static class OpenFolderDialog
141141
}
142142
finally
143143
{
144-
Gtk.Application.Quit(); // stops the main loop
144+
//Gtk.Application.Quit(); // stops the main loop
145145
}
146146

147147
return Task.FromResult(result);
@@ -232,7 +232,7 @@ public static class OpenFolderDialog
232232
}
233233
finally
234234
{
235-
Gtk.Application.Quit(); // stops the main loop
235+
//Gtk.Application.Quit(); // stops the main loop
236236
}
237237

238238
return Task.FromResult(result);

AssetRipper.NativeDialogs/SaveFileDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static class SaveFileDialog
9494
}
9595
finally
9696
{
97-
Gtk.Application.Quit(); // stops the main loop
97+
//Gtk.Application.Quit(); // stops the main loop
9898
}
9999

100100
return Task.FromResult(result);

0 commit comments

Comments
 (0)