mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
refill() on show
This commit is contained in:
parent
0602023fc4
commit
26ccfd29a3
2 changed files with 8 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ MixerSnapshotDialog::MixerSnapshotDialog(Session* s)
|
|||
global_display.signal_button_press_event().connect(sigc::bind(sigc::mem_fun(*this, &MixerSnapshotDialog::button_press), true), false);
|
||||
local_display.signal_button_press_event().connect(sigc::bind(sigc::mem_fun(*this, &MixerSnapshotDialog::button_press), false), false);
|
||||
|
||||
signal_show().connect(sigc::mem_fun(*this, &MixerSnapshotDialog::window_opened));
|
||||
|
||||
set_session(s);
|
||||
}
|
||||
|
||||
|
|
@ -108,6 +110,11 @@ void MixerSnapshotDialog::ensure_directory(bool global)
|
|||
}
|
||||
}
|
||||
|
||||
void MixerSnapshotDialog::window_opened()
|
||||
{
|
||||
refill();
|
||||
}
|
||||
|
||||
void MixerSnapshotDialog::display_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const Gtk::SelectionData& data, guint info, guint time, bool global)
|
||||
{
|
||||
if (data.get_target() != "string") {
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ class MixerSnapshotDialog : public ArdourWindow
|
|||
|
||||
void popup_context_menu(int, int64_t, std::string);
|
||||
bool button_press(GdkEventButton*, bool);
|
||||
void window_opened();
|
||||
void fav_cell_action(const std::string&, bool);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue