Skip to content

Commit

Permalink
Fixed UI issue with exporter.
Browse files Browse the repository at this point in the history
  • Loading branch information
phase1geo committed Aug 24, 2024
1 parent 61b83fb commit 0bb0b39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Exporter.vala
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class Exporter : Box {
private Revealer _stack_reveal;
private Stack _stack;

public signal void export_started();
public signal void export_done();

private const GLib.ActionEntry[] action_entries = {
Expand All @@ -53,6 +54,7 @@ public class Exporter : Box {
tooltip_markup = Utils.tooltip_with_accel( _( "Export With Current Settings" ), "<Control>e" )
};
export.clicked.connect(() => {
export_started();
do_export( win );
export_done();
});
Expand Down
3 changes: 3 additions & 0 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ public class MainWindow : Gtk.ApplicationWindow {

/* Add the export UI */
var export_ui = new Exporter( this );
export_ui.export_started.connect(() => {
popover.popdown();
});
box.append( export_ui );

/* Copy to clipboard option */
Expand Down

0 comments on commit 0bb0b39

Please sign in to comment.