summaryrefslogtreecommitdiff
path: root/windows/guildsettings/banspane.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-05-14 03:18:05 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-05-14 03:18:05 -0400
commit1c5f91201979d63ca4f96825f52ba1d5bcae06ef (patch)
tree8e78c141074210b0ed274372b12f63a1ac701bc2 /windows/guildsettings/banspane.cpp
parent95eb6646415d859931532e7b22967b7c68ddb02b (diff)
parent223a18512473fc790f6ad72a8344061de92812c8 (diff)
downloadabaddon-portaudio-1c5f91201979d63ca4f96825f52ba1d5bcae06ef.tar.gz
abaddon-portaudio-1c5f91201979d63ca4f96825f52ba1d5bcae06ef.zip
Merge branch 'master' into friends
Diffstat (limited to 'windows/guildsettings/banspane.cpp')
-rw-r--r--windows/guildsettings/banspane.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/windows/guildsettings/banspane.cpp b/windows/guildsettings/banspane.cpp
index f75e8d6..65366b4 100644
--- a/windows/guildsettings/banspane.cpp
+++ b/windows/guildsettings/banspane.cpp
@@ -10,6 +10,7 @@ GuildSettingsBansPane::GuildSettingsBansPane(Snowflake id)
, m_menu_unban("Unban")
, m_menu_copy_id("Copy ID")
, m_model(Gtk::ListStore::create(m_columns)) {
+ signal_map().connect(sigc::mem_fun(*this, &GuildSettingsBansPane::OnMap));
set_name("guild-bans-pane");
set_hexpand(true);
set_vexpand(true);
@@ -54,7 +55,7 @@ GuildSettingsBansPane::GuildSettingsBansPane(Snowflake id)
m_view.append_column("Reason", m_columns.m_col_reason);
}
-void GuildSettingsBansPane::on_switched_to() {
+void GuildSettingsBansPane::OnMap() {
if (m_requested) return;
m_requested = true;