Don't save custom favorite order when filter is active
This commit is contained in:
parent
7f5b3b9e33
commit
c6ee111c3d
|
@ -3117,7 +3117,7 @@ Mixer_UI::plugin_list_mode () const
|
||||||
void
|
void
|
||||||
Mixer_UI::store_current_favorite_order ()
|
Mixer_UI::store_current_favorite_order ()
|
||||||
{
|
{
|
||||||
if (plugin_list_mode () != PLM_Favorite) {
|
if (plugin_list_mode () != PLM_Favorite || !plugin_search_entry.get_text ().empty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3586,7 +3586,7 @@ Mixer_UI::plugin_drag_motion (const Glib::RefPtr<Gdk::DragContext>& ctx, int x,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (target == "GTK_TREE_MODEL_ROW") {
|
if (target == "GTK_TREE_MODEL_ROW") {
|
||||||
if (plugin_list_mode () == PLM_Favorite) {
|
if (plugin_list_mode () == PLM_Favorite && plugin_search_entry.get_text ().empty()) {
|
||||||
/* re-order rows */
|
/* re-order rows */
|
||||||
ctx->drag_status (Gdk::ACTION_MOVE, time);
|
ctx->drag_status (Gdk::ACTION_MOVE, time);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user