Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix copy paste bug with moving buttons #457

Merged
merged 2 commits into from
Nov 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions czkawka_gui/src/connect_button_move.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub fn connect_button_move(gui_data: &GuiData) {
tree_view_same_music_finder.clone(),
ColumnsSameMusic::Name as i32,
ColumnsSameMusic::Path as i32,
Some(ColumnsDuplicates::Color as i32),
Some(ColumnsSameMusic::Color as i32),
ColumnsSameMusic::ActiveSelectButton as i32,
&gui_data,
);
Expand All @@ -49,7 +49,7 @@ pub fn connect_button_move(gui_data: &GuiData) {
tree_view_similar_images_finder.clone(),
ColumnsSimilarImages::Name as i32,
ColumnsSimilarImages::Path as i32,
Some(ColumnsDuplicates::Color as i32),
Some(ColumnsSimilarImages::Color as i32),
ColumnsSimilarImages::ActiveSelectButton as i32,
&gui_data,
);
Expand Down
2 changes: 2 additions & 0 deletions czkawka_gui/src/initialize_gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub fn initialize_gui(gui_data: &mut GuiData) {
let buttons_select = gui_data.bottom_buttons.buttons_select.clone();
let buttons_symlink = gui_data.bottom_buttons.buttons_symlink.clone();
let buttons_hardlink = gui_data.bottom_buttons.buttons_hardlink.clone();
let buttons_move = gui_data.bottom_buttons.buttons_move.clone();

// Disable and show buttons - only search button should be visible
buttons_search.show();
Expand All @@ -30,6 +31,7 @@ pub fn initialize_gui(gui_data: &mut GuiData) {
buttons_select.hide();
buttons_symlink.hide();
buttons_hardlink.hide();
buttons_move.hide();
}

//// Initialize main scrolled view with notebook
Expand Down